package com.hospital.demo.mapper.jiajinpeng;


import com.hospital.demo.model.jiajinpeng.Surgery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SurgeryMapper {

    List<Surgery> selectAll();

    List<Surgery> selectBydoctor(@Param("sdoctor") String sdoctor);

    int insertSurgery(Surgery surgery);

    int updateSurgery(Surgery surgery);
}
